<%--
  Created by IntelliJ IDEA.
  User: 箜絔lk
  Date: 2020/9/15
  Time: 18:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

    <a href="http://www.baidu.com">get请求</a>

<%--    当对百度发送post请求时页面会报错，因为post请求相当于插入，百度是不允许的--%>
    <form action="/lk/day01/get" method="get">
        <input type="text" name="username">
        <input type="submit" value="post">
    </form>

</body>
</html>
